package com.paic.mhis.hcpms.common.community.biz.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.paic.mhis.common.base.dto.BaseDTO;
import com.paic.pafa.app.biz.service.BusinessServiceException;

public interface BaseService {

	/**
	 * 根据codetype查询基表对应的数据
	 * 
	 * @param transferJson
	 * @return
	 */
	public Map<String, Object> getCode(JSONObject transferJson) throws BusinessServiceException;

	public List<BaseDTO> getBaseCodes(String codetype, String codeno) throws BusinessServiceException;

	public Map<String, Object> getAllCode(JSONObject transferJson) throws BusinessServiceException;
}
